package com.googlecode.familytreesimulator;

import java.util.ArrayList;

/** Parent creates and modifies parent objects
 * 
 *
 */
public class Parent extends Human {
	
	private ArrayList<String> parentGeneList = new ArrayList<String>();

	/** Parent(String newFamilyMember) creates
	 *  Parent based on chosen family member
	 *  value
	 * 
	 * @param newFamilyMember
	 */
	public Parent(String newFamilyMember){
		super(newFamilyMember);
		this.familyMember = newFamilyMember;
	}
	
	/** setGenes(ArrayList<String< newGeneList)
	 *  sets the current gene list to the inputed list
	 * 
	 */
	public void setGenes(ArrayList<String> newGeneList){
		this.parentGeneList = newGeneList;
	}
	
	/** printStats() prints the gene list
	 * 
	 */
	public void printStats(){
		System.out.println("Hi, I am the " +
								familyMember + ".");
		System.out.println("I have " + eyeColor + " eyes!");
		System.out.println("I am " + height + ".");
		System.out.println("I have " + hairColor + ", "
										 + hairType + ".");
		System.out.println("I have " + skinTone + " skin.");
	}

	/** getGenes() gets the current list of genes
	 * 
	 */
	@Override
	public ArrayList<String> getGenes() {
		return this.parentGeneList;
	}

}
